export function formalMinuteSeconds(currentTime) {
  let minute = Math.floor(currentTime / 1000 / 60) + "";
  let second =
    Math.floor(
      Math.floor(currentTime - Math.floor(currentTime / 1000 / 60) * 60000) /
        1000
    ) + "";

  if (minute < 10) {
    minute = "0" + minute;
  }
  if (second < 10) {
    second = "0" + second;
  }

  return minute + ":" + second;
}
